package com.teacher.untils;


import lombok.extern.slf4j.Slf4j;

/**
 * 返回头
 * @create:
 **/

@Slf4j
public class ResultUtils {

    public static ResultEntity<Object> build(Object data) {
        ResultEntity<Object> resultEntity = new ResultEntity<>();
        resultEntity.setData(data);
        return resultEntity;
    }

}
